package com.zhk.ScriptManagement.service;

import com.zhk.ScriptManagement.entity.User;
import com.zhk.ScriptManagement.entity.vo.UserVo;
import com.zhk.ScriptManagement.util.Result;


public interface UserService {

    Result login(User user);

    Result logout();

    User getUserByUserName(String userName);

    Result addUser(User user);

    Result updateUser(User user);

    Result getUsers(String size, String num,String realName);

    Result getUserByUserId(Integer userId);
}
